added longer timeout values to support HC cards
fixed file append function, 512 bytes have to be appended, alternativeley call sector_close()