Added folder creation when saving file from dynamic type. Adapted test.