catch SystemCallErrors and re-raise as packaging errors