Use write-only mode only if file storage and no other storage is enabled. Use read/write for all other cases. Change-Id: I3eea79d8a572b3985015b48cda227ab2b8d9e978