Make sure Swift store operations close the source file handle