get size of a file before downloading in python,"open(filename, 'rb')"