Fixed host file creation