Reset the location to start writing at position 0