Flatten the output of io_lib:format