Merge pull request #12048 from tjouan/app_generator-bin_perms-umask

Comply with current umask when generating new app