Revert "Change to home directory by /Users/Hao rather than ~."

This reverts commit 5c0fe7bc84fe0faca8f3b09c6308c9dcd847f5ce.
Change to expansion of HOME instead of ~ for homedir.