expanduser on hash_dir