[FIX] Packaging: better filename handling