add level component saving functions which use PhysicsFS (didn't commit properly...