Fix issues with mimeType in path utils.
Fixes #92

Thanks for contributions from @sp and @robhuzzey
set extnesion to html if no access type is given
0.5.34