Fix bug DNN-3691: change file size type to long.