Add chunk parameter of overloaded finish method

Problem example:
RequestHandler calls write_error() which in turn calls self.finish() with a chunk parameter, leading to the uncaught exception "TypeError: finish() takes exactly 1 argument (2 given)"