PHP 5.3 doesn't close the last backup archive part because resources seem to be copied by value, not by reference