[ticket/12923] Automatic Update should back up files in a backup folder

https://tracker.phpbb.com/browse/PHPBB3-12923?filter=-2

PHPBB3-12923

Depends on https://github.com/phpbb/phpbb/pull/2815
Should probably still use rename here because the file is overwritten anyway afterwards.