Limit the maximal file name length to 242 for AUFS file system Reviewed-by: dholmes, redestad
Used the unicode version of windows API's to handled long paths and avoid using the stat() function. Reviewed-by: stuefe, iklam