Add java.io and java.nio file source/sink helpers.

@swankjesse