expand-home should be consistent in what it returns

Usually if you pass it a path string that starts with `~` it returns a
file. However if the path string does not start with `~` it simply
returns the string. This change makes the return value consistent:
always a file.