fix for permissions error

not sure if this is an OSX specific thing or what, but this fixes

`
msg: Could not replace file: /tmp/tmpgZ_KDw to hosts: [Errno 13] Permission denied: '/.hosts.78824.1397353883.67'
`
Merge pull request #4 from natlownes/master

fix for permissions error