Fix TryCompile test COPY_FILE_ERROR failure case

Ensure COPY_FILE fails by trying to put it in a directory that
conflicts with an existing file.
Merge topic 'try_compile-COPY_FILE_ERROR' into next

c404931 Fix TryCompile test COPY_FILE_ERROR failure case