Cleanup return name
Flag illegal chars in basenames