Make reproducible_write test work when GAUDIAPPNAME is set
reproducible_write
was introduced with !1380 (merged) more or less at the same time of !1374 (merged), so it still exposes the bug #233 (closed).
This MR fixes the problem.
Closes #290 (closed)