common.h: fix compilation error, add html/ to .gitignore
outpath removal #1: false positives
buffer.*: add an offset parameter in buffer_tofile()
it should be stat_isdir, not st_isdir. adjust dirstack.c accordingly, also use erremkdir()