Ensuring pem files are properly split regardless of source OS