fileGetExtension should only use basename

Otherwise files like /home/whatever/.vst/foo.so will be incorrectly
parsed as having "vst/foo.so" as an extension.