Unnecessary checkout for getting file size

Change the unnecessary checout for get the file size, for GCI2013