Fix /fetch functionality to be compatible with recent refactor

/fetch functionality was totally broken. It now "works" but still doesn't accept files bigger than ~200kb without an ioerror.