Create directories if nessesary.