Fix unquoted file mode
'ensure' should be the first attribute