fix issue with copying match file across filesystems
use java.io.tmpdir for temporary match file storage