Savebyte() causes bug under Windows, method is changed.

Need some cleaning up later to save quite some bytes