This bug will be fixed in ngspice-33. So for now your path should be named
/home/pi/downloads/behav_counter_ste/logdata
You may also try skipping command cd and give the full path to wrdata, which already now should aknowledge upper and lower case letters.