[issue 699] fileName (for finding absolute path of a source file) are sometimes URIs, for example with GWT. We now do the right thing here instead of crashing out.