[HttpFoundation] moved dir creation just before writing to disk
[HttpFoundation] moved dir creation just before writing to disk


symfony/HttpFoundation,nichdu/HttpFoundation,oswaldderiemaecker/HttpFoundation,symfony/http-foundation,ygerasimov/HttpFoundation,mneuhaus/HttpFoundation