Minor changes to tools to help this: add_dirs: only create directories if they don't exist. scanpackages: added a command line flag to not create Packages.cd files