[FIXED JENKINS-3539] Prevent empty file creation if left empty

Minor comment (does not block the merge). It is preferable to avoid such constructs in new tests. They may lead to false results on slow machines, which do not schedule&execute jobs in one second.