Create output directory in mhd test program.