Dont rely on path info.

Path info, strips filenames for UTF-8 chars. Fixes an issue where ``Økonominotat (2012-10893).pdf`` is imported as ``konominotat (2012-10893).pdf``

Cleanup.