Fix Extension so it behaves correctly with file haveing no extension but '.' in directory name.
Fix Extension so it behaves correctly with file haveing no extension but
'.' in directory name.

R1dO/scite_clone,R1dO/scite_clone,R1dO/scite_clone,R1dO/scite_clone