Fix ignored 'cwd' when looking up files to zip.