This failure mode only matters if there is a ~ in the path.