fixed bug in pack_files.php