Add `trim` option to remove newline at EOF