8163517: Various cleanup in java.io code

Reviewed-by: shade, rriggs, redestad
15 files changed