Strip carriage returns as causes checksum error in SDK

Closes #7