Use proper temp files for communicating with bundle.