Fix constructors for writers and a small bug with INT96