pkg_files interface fixes