Issue #3175112 by alexpott, longwave: hold_test module creates files in incorrect place leading to possible random errors (cherry picked from commit 5e27a9f4)