Fixes encoded uri strings.