3808777c32
Motivation: An `IOException` may be thrown from `FileChannel.write` or `FileChannel.force`, and cause the fd leak. Modification: Close the file in a finally block. Result: Avoid fd leak.