xspf: try to produce valid XSPF files (there's still a problem with URI %-encoding)