better error handling.

Have you looked at http://golang.org/pkg/net/http/#FileServer?