moved FaceRest::getExtension() to Utils, because it can be used in general.