Applied smart pointers to FLAC related classes.