fix file imports when importing from extracted directory