mongodb: remove wrapper script.

Another approach to fix #27091. Let's keep discussion in there (other than commit comments).