ioworker: Fix PersistentIOWorker initialization

Hopefully fixes a regression introduced in 6097b4a795.  I knew that commit
was dangerous at the time I did it, which was why I left the old code in
there but commented out.  This is hopefully a reasonable fix until some
of the IOWorker stuff can get refactored.