Pull request : writeStep: Raise exception in case of IO error
Pull request : Fix MacOS build