Move non-chrome fs code into main js-git repo.