fixed #438: use FILE_WRITE_ATTRIBUTES instead of
FILE_ALL_ACCESS permission to set file time