Backports a patch that will be included in later upstream versions. The patch removes a call to /bin/mkdir.