profile.d: execute only .sh files

Avoid errors on login.
I don't handle the csh case.