Attempt to convert folders to submodules.