Write to file every 10 songs while downloading