Mark unittests for std.file.attrIsDir and attrIsFile as safe

They do not contain any unsafe operations.