Update scp.py

modify _find_unsafe to add "~" .