Variable scope fix

Also, "escaped_style" is not referenced anywhere

Signed-off-by: ucavus <ucavus@github.fake>
Windows line endings corrupted export

Signed-off-by: ucavus <ucavus@github.fake>