Create output directory when does not exist.