bugfix for stub generation: create the directory for the _stub.h file,