filesdir and src_cache added allowed_paths for some functions