improving workaround for a bug in libopenraw

https://bugs.freedesktop.org/show_bug.cgi?id=72270
it seems that 7D and 5D mark3 have larger garbled thumbnail sizes, so let's not ask libopenraw for a thumbnail smaller than 1024
make sh file executable