Compile error due to removal of dart:uri

Hi Chris, just removing a couple of lines to get things building again due to language change.  Thanks!