Fix fortran format to be compiled with all compilers (i -> i0)