Remove dead code

Got rid of a function by using astropy.extern.six
Removed a fix_header function that appears superfluous
Merge pull request #1 from sargas/remove-dead-code