Strip all non-cookbook files after resolving dependencies