Fixed bug in file I/O for CameraSystem class.