Fixed bug in open method: file:/ url can start with single slash