[PATCH] Move nested functions in core-file.c to file scope.