Refactor directory structure to distro-version.