Improve logging & dir_list(), expose '-p', speedup mime_type