fix write/append mode in io_adios.F90