Fix for saving match files on a different filesystem

Fixes the issues described in http://www.battlecode.org/contestants/forum/2/16/