Fixed bug where TextlabNLP.mp_map() would crash when writing to log stream in block.