groovectl: close output file on save
groovectl: simplify add_track logic