fix(transformer): Fixing invalid code generation for dashed filenames

When entry point dart filenames contained dashes then the generated library name was incorrect.

This is to address https://github.com/angular/angular.dart/issues/947