Pyenv fixbug

Fixing write to file from command line. Removing the echo command, and using the cat command instead.