Fixed file position being at end if no seek arguments are given.