Fixed mod temporary path to work even when compiled in an exe