Use defined F3 variable instead of static one

`helpers/Image.php` use static filename to store images.
Filename is build from `data/cache`when index.php & update.php define a specific variable `cache`for that purpose.
This fix aims to avoid misbehaviours.