Fix filename handling in haskell flycheck