Use strerror(EINVAL) for failed numeric conversions.

Consistent with FreeBSD's strtol.
gitignore