Trap and handle the io_error condition when executing `pcre-config`

closes #6