If it is a bug depends on whether you want a `-stub` suffix in the filename or not ;)

In all seriousness, it is a good point. I will file an issue.