Fix conventions.assets for stuff like styles/img. Closes gh-533.