Move directory check into compile().
Move directory check into compile().

This covers both bootstrap and regular (watching) mode.

Also includes check if the filename has a ".dust" extension.

Fixes #4.

jamsyoung/dust-compiler