Add/preserve trailing newlines in package files