[fix] string length in fb_util.string_encode
[fix] path length too long

PATH_MAX -> PATH_MAX*2 (to_unicode) in mongoose.c