Fix test case instability introduced in 085b6b667.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 064e029e60a516dea6566652d729419a51294ac2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-03-11T22:24:15Z
Releases: 10.13
Fix test case instability introduced in 085b6b667.

I forgot that the WAL directory might hold other files besides WAL
segments, notably including new segments still being filled.
That means a blind test for the first file's size being 16MB can
fail.  Restrict based on file name length to make it more robust.

Per buildfarm.

Files