APM HF upgrades on Linux leave CR/LF in files