delete template directory.