erlxc: provide better errors on failure

erlxc will crash on any errors. Try to provide errors to the caller so
they can diagnose and possibly catch the error and retry the operation.