Random: a few changes to the stream_resolve_include_path_function