Bugfix/typo fix in sdfits writer