set a temporary filename before saving it. Fix #541
Merge pull request #600 from lunika/541-bug-upload-picture-in-a-product-on-fresh-install

set a temporary filename before saving it. Fix #541