Wrong variable name. The write() method should accept both int/long and tuple/list
Merge pull request #322 from guewen/product-write-fix

[FIX] product: write() should accept both int/long and tuple/list