these statements aren't going to work as this will write out the file wherever you are calling this workflow from. the alternative to make it work with a version of nipype that's not this one is to simply comment out the line. for now could you revert this one and the next one back?