OFFileManager: Use EINVAL instead of ENOTSUP

ENOTSUP is for sockets.