Merge pull request #1 from darul75/master

Merging upstream
Fixing destroy function

Fixing the destroy function.
Fixing sending multiple headers from multiple calls to callback.
Fixing fs calls to undefined outputfile var, using this._filename instead.
Merge pull request #4 from Krylik/destroy-fix

Fixing the destroy function