Fix unlink issue
Merge pull request #8 from glutamatt/master

Fix unlink issue