Fixed problems preventing file writing in Jenny.