telephony: fix NPE on gsm devices

http://review.evervolv.com/#/c/9024/ introduced a NPE situation on gsm
devices.

Also fix permissions on the changed files.

Change-Id: Ib0ab66ecbba2c46d5bfadbdbc6dce39251996f64