Fix expand path for ssh private key.

This commit fixes issue #39 where the tilde in a ssh private key
path was not being expanded properly.