Trim trailing newline in assets

See #119
Fix CSS null style name bug

This and the previous commit fix #119