fix foodcritic warning
set the mode on the final directory