Ensure valid package names in generator and don't import 'fmt' if not used
Merge branch 'master' of github.com:samuel/go-thrift