Fixed import files metadata by original filename (closes #2).