potential fix for windows file saving