Cleanup temp files when we save thumbnail into database