Bangladeshi writer leaves for US after Islamist threats