Do not import the entire ID3 package into the main namespace.
Handle unicode and zero-pad track number for correct numbering in some environments (assuming less than 100 tracks in playlist).
Change code layout a lot (use an iterator to caputer the, well, iterating logic).

However, tags aren't written yet. There seems to be some kind of bug (in the wider sense) in Mutagen.