Don't source files not in directories

This finishes the sourced-file part of the deprecation in #48,
which is kept open for the hook-script part.
Use profile.d instead of profile (#48)