allows writing the chruby shell file to specified path