Remove extension from loaded file name

Allow `load` to load a byte-compiled file first.