Handle pipe fail error for pickle-print