Respect '\r' characters in nbconvert.

closes #4941