Temporary directories should respect `integration.SYS_TMP_DIR`

Also, skip if the directory was not actually created.