Creating and writing to CSS file