bug fix for #75
Merge pull request #76 from nappa/fix-75

Remove needless newlines generated by pack("m")

If pack("m") processes a long length string as its input, the result is also a long length string.
pack("m") fold a long line to short lines. It generates newlines in the result. But the current code
assume that newline is only added at the end of the result.

GitHub: fix #75

Patch by Ryosuke Yamazaki. Thanks!!!