Fix pyenv rehash problem

Change shims directory permission to 777.