cram: Fix tests after addition of -build
cram: Remove unnecessary tempdir handling

cram already provides a temporary directory, sets TMP to point to
it too, and cleans it up.