remove trailing crlf

Fix removes trailing carriage line return, so that in scripts where one is using i.e. curl, the URL won't be malformed.