Nothing in this article shall prevent the defendant if he wishes to appeal his case from filing an affidavit in forma pauperis in lieu of giving bond and security and the payment of the costs.