file-reader: propagate error event. fixes #31
add test for file-reader "error" event