Add method for writing a task engine to a custom location.