seriealize file handling issue

Change-Id: I79652b78632a91269301d339e5742f9ddffa6d36
diff --git a/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java b/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java
index d7dcfb5..03311fd 100644
--- a/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java
+++ b/compiler/base/tool/src/main/java/org/onosproject/yang/compiler/tool/YangCompilerManager.java
@@ -550,7 +550,7 @@
 
         while (enumEntries.hasMoreElements()) {
             JarEntry file = (JarEntry) enumEntries.nextElement();
-            if (file.getName().endsWith(".ser")) {
+            if (file.getName().endsWith(YANG_META_DATA)) {
 
                 if (file.getName().contains(SLASH)) {
                     String[] strArray = file.getName().split(SLASH);