add new file open mode FO_WREXTR
add 3 modes to open regular files
update use of File.open()