When version file is created and the parent dir does not exist yet, file creation fails. An appropriate action is creation of the parent dir.