[ticket/11491] Copy files back only if we saved them previously

PHPBB3-11491