[ORB-336] bugfix for how file uploads are detected on post