Fixes symlinks

I fixed symlink support, as well as timestamps and directories-containing-single-directories.

On the other hand, you may not want the changes exactly as-is. Android 1.6-2.3 toolbox seem to not support "ls -n" — I'm not clear if my solution using getpwnam/getgrnam is best.