Complete implementation of fs bindings.

Still a couple of odd test failures, but working well overall.