Fix opening FITS files where path contain non Latin1 characters
I found bug that if path to image file contain non Latin1 characters it fail to open it. You can test by creating directory named áíé and try open image that in that directory.
Problem arise from that toLatin1() replace any character not in latin1 with �.