Rubocop - prefer single quoted strings.
Fix internal spacing issues.
Remove unnecessary braces.
Use a colon as the todo label.
Add encoding statements.
Fix hash syntax.
has_key? is apparently deprecated.
Add an example for tracktypes.
Handle empty extra tags correctly.
Output to a subdirectory, and don't clobber the output when re-running (e.g. with a new style revision).