Attempt to find bug with loading binary file in Haskell