Fix chmod for bundles