Create documents directory when needed for tessdata

On a different computer, when running unit tests involving tesseract-ios, I found the documents directory did not exist, causing tesseract to fail. This commit creates the documents directory, which solves this problem and fails silently when not required.