Specify character encoding and newline mode on file open/save dialog.