Improve the way to retrieve filesize, my trying to fix #24 but look like it's php side. close #24