Fixes root directory submodules

Previously, root directory submodules were being interpreted as files with null sizes, making Mantle throw an exception whenever it found a submodule in the root directory.