limit temp file name length when upload files via url

Test plan
 * Upload a file using the url file upload api with a 500+ character name
 * It should upload

Change-Id: I19ad272c1f5702ee5bc3c369060b3f6cea4077d7
Reviewed-on: https://gerrit.instructure.com/32890
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>