endian_conv: reset file's modification time after writing to it, so visual studio doesn't think it was changed