Error handling for malformed miso output files during summary. Thanks to Li Shen