HIVE-4645: Stat information like numFiles and totalSize is not correct when sub-directory is exists (Navis via Brock Noland)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1515865 13f79535-47bb-0310-9956-ffa450edef68