fileapi: Restrict reply object file path lengths

Fixes: #23389
8 files changed