Use the rewriter return code in the Mkdir method

1 job for fix-mkdir-ret in 7 minutes and 42 seconds
Status Name Job ID Coverage
  Start
passed build-start #6768480

00:07:42