implement --clean, --modify, --stdout; writing APTSource objects to files