Change permission of $tmp_file into 0644

File::Temp::tempfile create a temperary file which has 0600.
/etc/hosts is 0644 by default.
Merge pull request #4 from tacahilo/change-permission-of-tmp-file-into-0644

Change permission of $tmp_file into 0644