Fix pip file mode.