Clean-up the source tree to avoid import paths leaking files across sub-packages.