add File::handleLastError()
add lyxFileStreamBuf
add lyxFileStream