Write the worker pid