Fix ResourceWarnings in FileStorage.pack()
Use with open(): ... for peace of mind