loader.py: renamed pkg_dict in file_dict