Cleaned up the writing of the significance maps fits files.