Improved URI Handlers

This commit adds plain file pathPatterns and mimeTypes (streaming
only). This commit also fixes the pathPatterns which uses a basic
glob pattern with (double) escaping for XML.

I've tested this pretty thoroughly.