Fix error handling of external sfdisk command.