forked from boostorg/beast
fix #1356 * File functions return errc::bad_file_descriptor instead of errc::invalid_argument. Actions Required: * Callers checking for errc::invalid_argument from calls to file APIs should check for errc::bad_file_descriptor instead.