Simplify pattern matching in collect's folder mode

Having full regex power here is neither documented nor something we have
anywhere else in dt, and it wasn't portable either. So it was replaced
with a simpler but non-case sensitive method.