fix #675, convert url to files with URI
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4701321