Make /etc/profile.d scripts end in `.sh`

The Ubuntu /etc/profile script only sources scripts ending in `.sh`:

    for i in /etc/profile.d/*.sh; do ... done

Change-Id: I3039a7a872fd33e1a1897a179deb7da74d9ca7c6
Merge "Make /etc/profile.d scripts end in `.sh`"