Fixes some bugs with LocalFs.
Fixes typos.