Correctly set file stream prototype object

Fixes https://github.com/kripken/emscripten/issues/1759