Worth trying type "a" (append only), or in binary mode.