Monkeypatched dj_static since it errors out sometimes when writing headers