Fix changeset id parsing to handle carriage returns

Fixes #606