Creating parent directories before writing files if they don't exist in the disk utility class.