Shot noise in chaotic cavities with an arbitrary number of open channels