fix Read call in APIAddr
fix Read call in APIAddr

* don't assume that Read fills the buffer.
* don't succeed if the API file is too large.

License: MIT
Signed-off-by: Steven Allen <4068f0880b399410602d694b3cc711c8a8f4727e@stebalien.com>

Luzifer/go-ipfs,ianopolous/go-ipfs,ianopolous/go-ipfs,Luzifer/go-ipfs,ianopolous/go-ipfs,chriscool/go-ipfs,Luzifer/go-ipfs,chriscool/go-ipfs,chriscool/go-ipfs