Fix parsing of invalid syntaxt Python exceptions

I am not sure how to fill function_name. InvalidSyntax exception have only one frame and that frame does not have file. The patch set special_function to true and leaves function_name empty (NULL), but exporting to JSON adds 'module' to function_name.
I vote for setting `function_name` to `syntax`.