t/08.errors.t fails on Mac OS

This fix works on Mac OS (and still works on Debian).