core: clean up Bundler tempfiles [GH-4103]