Takes a string and saves it as an svg file