mkdir now creates directories recursively

Hello, I'm trying to use your bundle and I would like to have it to create the upload directory even if it is placed in non-yet-existing location.