test plan:
* when using the file api delete endpoint with the "replace"
param (as an account admin), it should return a renamed file
that opens correctly when downloaded
closes #CORE-1463
Change-Id: Ibfbe5bc3e7a590bcb6efda3d7f510355b52d34d2
Reviewed-on: https://gerrit.instructure.com/151667
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>