Replace URI reserved characters with a tilde