Enforce url endings

This is part of enabling both a statically exported version as well as making the "API" somewhat saner.