Calculate flac duration

Issue #57