Adding temp file entry on thumb generation.