Cut off padding from decrypted file.