Prune hive files after imports (bug 1051836)