French and Iraqi officials say a French engineer kidnapped last month in Baghdad has been freed .