[CB-8014] fileKey option is being sent with a wrong value due to a mistake in the code

https://issues.apache.org/jira/browse/CB-8014
I updated array