always expand ~ in file operations