Resolves #1 (filer.open actually ignores onError)