Rework name_for_file argument to consider changes made to playlist_stats
Rework returned stats to use a hash instead of an array