added import of System.IO.Unsafe. Fixes #10

I added an import to fix #10. I also added a .gitignore file so I wouldn't accidentally commit my cabal-sandbox.