Fixes copyinstr() and use it in fs syscalls

- use copyinstr() in fs syscalls where strings are copied
- namei should fail if pathnames like /.*/ don't point to a directory