Resolves #38 (filer.open actually ignores onError)
Merge pull request #2 from shabunc/38-open-error-callback

Resolves #1 (filer.open actually ignores onError)