Eliminate appending .nc to the end of a source file without an extension.