Replace mkdir with f_create_path