Add option to write depfile to a file on creation