Allow the use of PUT with file upload for replace functionality