Throw at most one exception in native FileTest.

Test: atest CtsLibcoreTestCases:libcore.java.io.FileTest
Change-Id: I658b7f73e14ff5ef74f9b41fb0fb597c0325060a
1 file changed