fix: allow binary files via rest endpoint decorator