Escape spaces in URIs to make them parsable

Fixes #100 
normalized_uri passes the given data to URI for parsing which is not happy with spaces that are not encoded.