stderr data buffer format to string