Add missing import of errno

Thanks to @mgedmin for the report.

Fixes #24