use mkpath for more safety in Reporter::File