Update proprietary-files.sh

fix create proprietary files bug