Use strerror() instead of outputting errno directly.