convert submodules into subdirs