Cleanup test-compile-file-failure.script a bit.
Fix getcwd on GCL. Also lower the random limit for with-temporary-file on GCL.
Bump version to 3.1.0.17