Prepare log directory
`log` and `tmp` should contain .keep file, closes #1717
Cleanup a whitespace
Merge pull request #1719 from padrino/prepare-keepfile

Empty directories should contain .keep file, closes #1717