Decided to get the thumbnail generation to use the original file as
input rather than the newly created one. This has the potential merit of
still working even if the transcode fails. It was actually changed to
this because my means of determining the filename of the transcoded file
was a bit flawed. This seems more reliable.