A couple of bug fixes for coalescing output streams and the parsed-literal directive in reST).

These are also submitted in a separate pull request. I'm only
cherry-picking them here to have them quickly available for my
own work.