Added autocmd to remove trailing whitespace characters on write.