Return EINVAL in default ftruncate() handler
According to POSIX this case is implementation defined. Linux and FreeBSD return EINVAL.