another place where we need to ensure 'fileopt' is not set for python.

fixing another place where fileopt is accidentally set for python (where it's not required to do so)