HIVE-2384. Fixes overwriting of files in case of import of multiple partitions from a partitioned table with external location. (Krishna Kumar via amareshwari)