Add cdrtools and patches. File iteration was not deterministic.

Note: Little effort was put into patching this fully. As-is it will leak
memory, but not enough to worry about.