fix(resource.go): try writing to destination when rename fails
Merge pull request #123 from deis/fix_etc_hosts

fix(resource.go): try writing to destination when rename fails