Ensure we create the .ssh directory before putting a file there

Should fix Issue reported https://github.com/puppetlabs/beaker/issues/567#issuecomment-66420075