Use -stringByReplacingPercentEscapesUsingEncoding:

Since -stringByRemovingPercentEncoding was added in 10.9
Merge pull request #2 from kastiglione/before-there-was-mavericks

Fix for us fogies on older OS Xen