Extracts inline CSS and moves to an external file