Included the review comments for using new file descriptors.
Included the review comments for using new file descriptors.


Former-commit-id: 76309b99d8eead3fc585bb95cc0c66ed57660e5d
tmobile/jazz-installer,tmobile/jazz-installer,tmobile/jazz-installer,tmobile/jazz-installer