make AnnotationDetector work on JBoss 5.1 whose VFS URL protocol is 'vfsfile'.