Thanks to Daniel Hahler for the my_mkdir caching.