fix(userdata): Strip \r when checking header

Fix #68
Merge pull request #82 from bcwaldon/fix-68

fix(userdata): Strip \r when checking header