Fixed bug where output_current_state still output a header (so was not compatible with new worldfile format)