Update rpy2 code to write _expressions.txt as output (consistent with
other code)