Get the bare name of a file, without its extension.