Fixed uri-related problems on Mono