Use SessionDirectory instead of Session::sound_dir in Session::audio_path_from_name