flush_output for XDMF