Fixed bugs in java m3 extraction where directories were interpreted as files (i.e. dirs that end in .java)