Use CFITSIO to write .fits images as output other than .bin files
merged
mentioned in commit 1688d72a