Fix over-strictness of is_reg setting under Windows (was only true if FILE_ATTRIBUTE_NORMAL)