Removed duplicate flush declarations in file and memory channels

Signed-off-by: Tom Wright <tom@inflatablecookie.com>