Fixes problem where raw pastes had wrong content-type