Use type file for helm-source-locate-library

That's just what you suggested, Thierry.  I tested it for a while, and it worked well.