Rescues SystemCallError instead of Errno (#346)
Rescues SystemCallError instead of Errno (#346)

Fixes #344

This fixes issue #344 by replacing rescue `Errno::*` with
`SystemCallError`. Each error in the `Errno::Constants` is a subclass of
SystemCallError. We can use SystemCallError to handle the exceptions on
different OSes.

Signed-off-by: David McCown <2b04551350ef57f65cbc898e53b100ac51a2e850@chef.io>
chef/train,chef/train