Fix python_utils related errors in file package.