file:// URIs should be urlencoded; decode URIs where required. Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>