fix FS_FOpenFileWrite, also make FS_FOpenFile{Write,Append} open in binary mode