Queue: fix crash with file bundles