Use UUID to store all intermediate files

This closes issue #73.