Handle tilde in `Path.expand/1,2` properly