Normalize file ending