Fix fish_config error with python3

fixes #1253 

This fix was originally suggested by @sjdrodge. I tested with both python 2.7.5 and python 3.4.1.

I wasn't able to repro either of the two issues mentioned by @sjdrodge above. Perhaps they've been fixed elsewhere.