Fix temporary directory path in thumbnailcreator module