pactl: return in case of error reading file (avoid using freed d)