Fixed String.format bug; changed path separators to system-dependent