Rewrite with-errno-handler with syntax-rules.

Add janky work around for integer->errno bug in s48.

Make with-errno-handler and friends available in the scsh package.