moving generateMetaFileDirName() to WebappUtils