'Retrieve the size of this file in bytes.
@return: The size of the file at this file path in bytes.
@raise Exception: if the size cannot be obtained.
@rtype: L{int}'

def getsize(self):

    st = self._statinfo
    if (not st):
        self.restat()
        st = self._statinfo
    return st.st_size
