Get basic file conversion working with more sophisticated URI handling.

The sample does seem to be converted appropriately, at a glance.