Expand the user (~) fragment when creating directory