fetch2: Ensure directory for stampfile exists before trying to create it

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>