Fmriprep carpet plot error

I am having the same problem with 1-4-1rc5, except I usually get an OSError: handle is closed at the end of processing.