Custom XP Handling for Furnaces (Fixes #27)
Moved file writing to its own class.