Added 'Accept' to send headers

Fix for get file content in human readable mode instead of base64
encode.