Remove errant period at end of document