Replace some len_t's with long.