Normalize line endings #617 - add getattributes