starbound.open_file: allow overriding file type guessing