fix file packager
update tests for recent file packager changes