Update library_fs.js

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