Fix fish_config error with python3

fixes #1253

I wasn't able to repro either of the two issues mentioned by @sjdrodge above. Perhaps they've been fixed elsewhere.