What was the new form of writing introduced by the spread of Islam?