ENYO-2782: Fixed file path issue in case of image file opened

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
Merge pull request #465 from enyojs/ENYO-2782

ENYO-2782: Fixed file path issue in case of image file opened
Merge branch 'master' into ENYO-2771