Extract style tag into CSS file