Added failing test case for the fs module
Merge pull request #1109 from antonkovalyov/fs

failing test case for the fs module, fixed via @gozala's 33c93a47e2f855c7d8bce67489188be27641d711, r+=@jsantell