Write CTest generated files to CMAKE_BINARY_DIR to avoid permissions issues