Update to allow compilation under Java versions supporting varargs.
Fixed to open all URI types, not just files.
Merge pull request #2 from gwinstanley/master

Update to allow compilation under Java versions supporting varargs.