[ticket/11458] Use helper to create/move/delete directories/files

PHPBB3-11458