Fix .profile, properly delete .dirs