Try to create dictionary directory if it does not exist.