shutdown option of pipeTo is not a function, an options object or false, its timeout
is not a positive duration, or onShutdown is not a function. pipeTo rejects before the pipe starts.
Null and undefined use the default shutdown settings.
Fix — pass a duration with a unit. A number of milliseconds is refused: