Fixed issue with thumbnail image not separating filename and file extension with a '.'.