Fix spotify path creation to avoid SEGV