Use default-directory instead of buffer-file-name

buffer-file-name doesn't work for non-file buffers (like shell buffers).
Merge pull request #8 from shosti/default-directory

Use default-directory instead of buffer-file-name