extract util to grunt-legacy-util