Reworked the upload and import of files. New interface and new import functions, should handle raw files better.
Should fix issue #86 but not sure since I could not replicate the original problem.