attempt to fix a bug with makedirs

establish_static_assets now checks for dir existence
before trying to run makedirs. This is to avoid errors
where the directory already exists but has different permissions