Shinde writes to Thackeray