Factored out a small filebackend getContentType() function

Change-Id: I221483ab4a0ed36ea34c19db1740dfaecf223677
Merge "Factored out a small filebackend getContentType() function"