CB-7413 Adds support of 'ms-appdata://' URIs

Fix for https://issues.apache.org/jira/browse/CB-7413

This also fixes resolving of `file://` urls