[PATCH v3 00/12] Improve handling of test temporary files