Fixed typo in matchindir

Added missing seek