Quick fix for #244
Quick fix for #244

Later mg_fopen and mg_stat should be restructured, so the do not work on different members of the same structure.

GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver