Write thumbnail cache