fix bitwise for stat->mode of configfile

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>