Properly escape user commit message

Resolves #9 and #12