Not working PDF export for image files with capitalized file extensions (eg. JPG)