Support newlines in keyfile