Revert "Fix filename handling in haskell flycheck"

This reverts commit 1d7e9180abe5097e4556e46c05ca17c28932198d. The new
way didn't work, and flycheck itself also uses (file-name).