Removed dependency on sun.io.