Converted symlink-related functions with minimal testing.