ShrinkUrl & core: Fix encoding issue related to getUrlFd.
ShrinkUrl: Fix goo. Looks like a change in the API. Closes GH-779.