fix some places not yet working with python 3.2
add a secure_sftp method using ssh directly (still quite experimental and only working in python3.2 yet)