Adding contentType for static files from bin

Fixes #685