ReadOnlyState: Use NIO file API

Change-Id: I19e4efabcf2f435a178a165ae865b239f68d4930
1 file changed