Fix fish_config error with python3

Closes #1253.