Use `pack()` instead of `hex2bin()` to be compatible with PHP 5.3 (see #7010)
Add an `.htaccess` file to the `vendor` folder
Update the build script to preserve the root folder upon packing
Use a more precise UUID detection in the `FilesModel` class (see #7054)