Image filepath using real filename

Change image filepath to use real filename. It's using os.path.basename(). 
It should be okay on Linux because Blender always adapt it's path string depend on the os.
Fix for packed images with no filename.
Merge branch 'ucupumar-master'