w+ to make sure artists.txt is created

if artists.txt is empty or invalid, don't break the artists var