Added an "Is the file open?" check in PackableFile::PackableFile::pack().