Remove unneeded whitespace, convert tabs into spaces.
Make sure the directory still exists.