CB-6978 captureImage() function fails in Android

The reason is that the Intent which should write the file has no permissions in the application's cache directory by default.