Fixed webfrontend not guessing mimetype correctly