Fix oai directory creation.