Added padding parameter to binary to string