Copy actual file instead of symlink in postinstall and fix coding style.