XXX fix final linefeed for mdata-get