remove a directory that was used temporarily