Switch Error.t to a polymorphic variant
Define 'type error' in the FS module type

Signed-off-by: David Scott <dave.scott@eu.citrix.com>