Manipulating File Pointer Using Seek In Python