File file = new File( System.getProperty( "java.io.tmpdir" ) + File.separator + "RepoBinPackage.pkg" );
FileManager fm = new FileManager();
try {
//Attempt to delete existing temporary file that may be lingering around
fm.deleteFile( file );
// Save file for actual test
FileOutputStream out = new FileOutputStream( file );
out.write( binPackage );
out.flush();