Fix file stream piping on error
Fix complete callback only to be called on file completely finished
bump version to 0.1.3