Use Uniform type in write(::Uniform,...) ccalls