Added support for image download; Removed the file name trimming

Added support for image download to complete the full export functionality
Also, removed the file name trimming since it also removed the file extension

Signed-off-by: license2e <ilya@shindyapin.com>
Ok