Handle error on stream
Delete file on error
Fix little things
Merge pull request #19 from AnyFetch/delete-file-on-error

Delete file on error