fixed missing james.write in Jamesfile