s3/script/tests: Fix 'Unrecognized option(s) passed to mkpath()' error