Some changes to make scp work with python 2 and 3
Merge pull request #27 from jbardin/python3

Some changes to make scp work with python 2 and 3