Basic stdout to file redirection