Filename to query
File offset of the thumbnail
File list result
Filename of the G-code file
Offset of the thumbnail
Base64-encoded thumbnail data
Next thumbnail offset or 0 if complete
Error code, either 0 on success or 1 on error