Fixed automatic BPM tag writing (https://github.com/stengerh/foo_bpm/issues/3).