Fixed Android vide writer and fixed sample to have permissions to write video file to the SDCard.