This is for when using ImageMagick to create thumbnail of only the first page.

Modified source to look like /path/filename.pdf[0] instead of /path/filename.pdf.

Doesn't seem to have negative impact on other file formats.

NB: Testing is needed, and this probably only works when using ImageMagick.
Merge fix for #73