(maint) Update error messages to be consistent with posix