Removes trailing whitespaces upon saving a file.