Expand tilde in path names