Updated transfer listener to properly deal with resumed downloads and existence checks