ensure static dir exists