Changed the way NBSInputStream parses NBS files