Fix a bug in fits file creation (file name composition).