Changed local-fs.js to pass tests and work on windows.