Remove some temporary files.
Use File::Copy move function instead of system mv.