Updated to work with `base-4.7` where `unsafePerformIO` needs to be imported from `System.IO.Unsafe`
Merge pull request #4 from laurencer/master

Updated to work with base-4.7