Touch a file, creating all necessary parent directories first