fixed a bug - directory was not being created on first record attempt
(older devices)