test trying to modify through write
bootstrap FileChannel impl
convert to absolute path when creating file
add test for library end-user

this test only have runtime dependencies on filesystem implementation
it is in another package to avoid access to package-private classes