Creating pdf directory if it's not there as LaTeX won't automatically do that.