[feature/twig] Trying some new debug code for this mkdir error

PHPBB3-11598