Make the directory a dir, not the full path