ofhttp: Prevent empty file name