Fix for #11

Paths are now checked more thoroughly. If a filename is given with `/`
in it, a new path will be created (relative to the default path) and
the file logged within.