Use URI internally more
Added helper methods for converting File and URI objects to Streams