Fix multiple glob test on Linux.

If you have 2 sinks looking at the same log file then
events can be sent to the wrong one.