Fix error raising in FILER_DEBUG mode

Re-raising the error modifies the traceback and makes it hard to debug.
Just calling raise in a except statement re-raises the error with
its full traceback, making it easier to debug.