kazu-yamamoto/ghc-mod — pull request #221 by satoshi-murakumo (2014-04-16 15:35:53+00:00)
Title: Fix windows tempfile handling

On Windows, `ghc-mod lint` fails with following message.

ghc-mod: DeleteFile "\\Temp\\ghc-mod-hlint8464": permission denied

Perhaps, On Windows, GHC opens file exclusively.
So, we move `removeFile` to `finally`.