Use text/plain for typeless files

Closes #10