Fix read() for length === 0
1.0.4