MDL-40883 dml: make sure object name never exceeds max length