A rewrite of flac2alac