this failed on my machine because the path does not exist.  It should create parent directories if necessary