(maint) Simplify use of Windows sys error message
Merge pull request #201 from MikaelSmith/maint/master/clean-scoped_error-usage

(maint) Simplify use of Windows sys error message