Fix deprecation

request.getPartAsString is now deprecated, replaced with getPartAsStringFailsafe