Expand tilde in filenames to home directory