first pass at #78
debugging 78
added write_att overload for R
hopefully fixing infinite loop bug.
hopefully fixed the infinite loop bug.. again
debugging
added stream overload for R.
removing debug statements
closes #78
Merge branch 'issue-78' into develop