Fix log directory variable setter

Instead of we wanted to trim right side instead of left one.
Merge pull request #3 from snpy/fix-log-directory-setter

Fix log directory variable setter