#105: Correctly strip newline characters from _id on Windows