Rename image files before saving.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>