Fixed a few small bugs regarding reading and writing RADMC-3D files.