Fixes #6 by catching exception when removing output path