fixed the apostrophe issue

stringify respects apostrophes, and they're valid in URL. However, they break on Gatherer, so this hard-encodes them.