Remove temporary files on cancel

Fixes #127.
Merge pull request #145 from kevva/remove-tmp

Remove temporary files on cancel