India promises to protect writer