Fix incorrect filepath reference
Increase update performance

Be less lazy and explicitly check for tracks that already exit.
Group directories into DB commits to increase speed.