Altered file saving to correctly use URL encoded variables rather than sending raw data and hoping for the best.