Fix the too long file name bug