file-reader: propagate error event. fixes #31