BUG: fixed a bug in the output.py
BUG: fixed a bug in the nsls2/io/ouput.py