[ticket/12657] Fix name temporary directory used by test file

PHPBB3-12657