append rom filename onto -o argument if argument is a directory