Fork from http://gitorious.org/go-pkg/epubgo